package com.jnmd.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jnmd.mapper.SubjectMapper;
import com.jnmd.pojo.Subject;
import com.jnmd.service.SubjectService;

@Service
public class SubjectServiceImpl implements SubjectService{

	@Autowired
	private SubjectMapper subjectMapper;
	
	@Override
	public List<Subject> getAllSubject() {
		
		return subjectMapper.getAllSubject();
	}

}
